package com.winning.pmph.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.persistence.Table;
import java.util.List;

@Table(name = "operation_log")
@Data
public class OperationLog extends BaseEntity {
    /**
     * ID
     */
    @TableId
    private String id;

    private String userName;

    private String name;

    private String eventDescribe;
    private String eventResult;
    private String url;
    private String ip;
    private String failureReason;
    private String parameters;
    private String result;
    private String modules;

    @TableField(exist = false)
    private List<String> timeRange;
    @TableField(exist = false)
    private Integer userType;


}
